package com.ty.day2;

/**
 * Created by IntelliJ IDEA.
 *
 * @author : txy
 * @create : 2023/11/15 14:45
 */
public class Doctor extends People{
    String caste;
    String office;
    public void lookIllness(){
        System.out.println("看病");
    }
    public void makeOperation(){
        System.out.println("做手术");
    }

    @Override
    public void eat() {
        System.out.println("我是医生，我吃健康餐");
    }

    @Override
    public void study() {
        System.out.println("我是医生，我学习打针");
    }
}
